<style tyle="text/css">
    .modal-lg {
      width: 60%;
    }
    .pleft0 {
        padding-left: 0px;
    }
</style>
<div class="modal-header">
  <h4 class="modal-title">订单详情</h4>
</div>
<div class="modal-body">
  <div class="container-fluid form-horizontal">
    <i class="red">商品信息</i>
    <div class="form-group">
      <label class="col-xs-3 control-label">商品名称：</label>
      <label class="col-xs-3 control-label text-left pleft0">{{obj.sale_name}}</label>
      <label class="col-xs-2 control-label">商品编号：</label>
      <label class="col-xs-3 control-label text-left pleft0">{{obj.sale_code}}</label>
    </div>
    <div class="form-group">
      <label class="col-xs-3 control-label">商品规格：</label>
      <label class="col-xs-3 control-label text-left pleft0">{{obj.sale_name}}</label>
    </div>
    <div class="form-group">
      <label class="col-xs-3 control-label">供应商：</label>
      <label class="col-xs-3 control-label text-left pleft0">{{obj.up_company_name}}</label>
      <label class="col-xs-2 control-label">分销商：</label>
      <label class="col-xs-3 control-label text-left pleft0">{{obj.down_company_name}}</label>
    </div>

    <div class="line line-dashed b-b line-xs pull-in"></div><i class="red">订单信息</i>
    <div class="form-group">
      <label class="col-xs-3 control-label">购买人：</label>
      <label class="col-xs-3 control-label text-left pleft0">{{obj.name}}</label>
      <label class="col-xs-2 control-label">联系方式：</label>
      <label class="col-xs-3 control-label text-left pleft0">{{obj.mobile}}</label>
    </div>
    <div class="form-group">
      <label class="col-xs-3 control-label">订单标题：</label>
      <label class="col-xs-3 control-label text-left pleft0">{{obj.title}}</label>
      <label class="col-xs-2 control-label">订单编号：</label>
      <label class="col-xs-3 control-label text-left pleft0">{{obj.code}}</label>
    </div>
    <div class="form-group">
      <label class="col-xs-3 control-label">规格：</label>
      <label class="col-xs-3 control-label text-left pleft0">{{obj.skuid}}</label>
      <label class="col-xs-2 control-label">数量：</label>
      <label class="col-xs-3 control-label text-left pleft0">{{obj.num}}</label>
    </div>
    <div class="form-group">
      <label class="col-xs-3 control-label">支付状态：</label>
      <label class="col-xs-3 control-label text-left pleft0">
        <span ng-show="obj.pay_state!='1'">未支付</span>
        <span ng-show="obj.pay_state=='1'">支付完成（{{dictdata['pay'+obj.payment_type]}}）</span>
      </label>
      <label class="col-xs-2 control-label">支付时间：</label>
      <label class="col-xs-3 control-label text-left pleft0">{{obj.pay_time}}</label>
    </div>
    <div class="form-group">
      <label class="col-xs-3 control-label">支付金额：</label>
      <label class="col-xs-3 control-label text-left pleft0">{{obj.pay_fee/100 | currency: '￥'}}</label>
      <label class="col-xs-2 control-label">支付流水号：</label>
      <label class="col-xs-3 control-label text-left pleft0">{{obj.pay_trade_no}}</label>
    </div>
    <div class="form-group">
      <label class="col-xs-3 control-label">订单状态：</label>
      <label class="col-xs-3 control-label text-left pleft0">
        <span ng-show="obj.cancel_state=='0'">正常</span>
        <span ng-show="obj.cancel_state=='1'">已关闭（{{obj.cancel_time}}）</span>
      </label>
      <label class="col-xs-2 control-label" ng-show="obj.cancel_state=='1'">关闭原因：</label>
      <label class="col-xs-3 control-label text-left pleft0" ng-show="obj.cancel_state=='1'">{{obj.cancel_reason}}</label>
    </div>
    <div class="form-group">
      <label class="col-xs-3 control-label">备注：</label>
      <label class="col-xs-8 control-label text-left pleft0">{{obj.note}}</label>
    </div>

    <div class="line line-dashed b-b line-xs pull-in"></div><i class="red">收货信息</i>
    <div class="form-group">
      <label class="col-xs-3 control-label">收货人：</label>
      <label class="col-xs-3 control-label text-left pleft0">{{obj.mail_name}}</label>
      <label class="col-xs-2 control-label">收货人电话：</label>
      <label class="col-xs-3 control-label text-left pleft0">{{obj.mail_mobile}}</label>
    </div>
    <div class="form-group">
      <label class="col-xs-3 control-label">收货地址：</label>
      <label class="col-xs-8 control-label text-left pleft0">{{obj.mail_address}}</label>
    </div>
    <div class="form-group">
      <label class="col-xs-3 control-label">状态：</label>
      <label class="col-xs-3 control-label text-left pleft0">{{dictdata['mail'+obj.mail_state]}}</label>
      <div ng-show="obj.mail_state=='0' || obj.mail_state=='1'">
        <label class="col-xs-2 control-label">下单时间：</label>
        <label class="col-xs-3 control-label text-left pleft0">{{obj.create_time}}</label>
      </div>
      <div ng-show="obj.mail_state=='2'">
        <label class="col-xs-2 control-label">发货时间：</label>
        <label class="col-xs-3 control-label text-left pleft0">{{obj.deliver_time}}</label>
      </div>
      <div ng-show="obj.mail_state=='3'">
        <label class="col-xs-2 control-label">签收时间：</label>
        <label class="col-xs-3 control-label text-left pleft0">{{obj.sign_time}}</label>
      </div>
    </div>
  </div>
</div>
<div class="modal-footer">
  <button class="btn btn-danger" type="button" ng-click="cancel()">关闭</button>
</div>

